package com.swak.rpc;

/**
 * Invocation.
 * 
 * @author lifeng
 */
public interface Invocation {

	/**
	 * get method name.
	 *
	 * @return method name.
	 * @serial
	 */
	String getMethodName();

	/**
	 * get the interface name
	 * 
	 * @return
	 */
	String getServiceName();

	/**
	 * get parameter types.
	 *
	 * @return parameter types.
	 * @serial
	 */
	Class<?>[] getParameterTypes();

	/**
	 * get arguments.
	 *
	 * @return arguments.
	 * @serial
	 */
	Object[] getArguments();
}
